/**
 * Copyright 2008-2009. Chongqing Communications Industry Services Co.,Ltd Information Technology Branch. All rights
 * reserved. <a>http://www.cqcis.com</a>
 */
package com.cq.bd.service;

import java.util.List;
import java.util.Map;

import com.cq.base.domain.Page;
import com.cq.bd.domain.STakeLocation;

/**
 * 采血地点管理服务
 * 
 * @author huangmy
 * @date   2009-10-5
 */
public interface TakeLocationService {
    /**
     * 创建采血地点
     * 
     * @param takeLocal
     */
    public void doCreateTakeLocation(STakeLocation takeLocal);
    
    /**
     * 修改采血地点
     * 
     * @param takeLocal
     */
    public void doUpdateTakeLocation(STakeLocation takeLocal);
    
    /**
     * 获取采血地点
     * 
     * @return
     */
    public List<STakeLocation> doGetTakeLocations();
    
    /**
     * 获取采血地点
     * 
     * @return
     */
    public STakeLocation doGetTakeLocation(Long locationId);
    
    /**
     * 分页查询
     * 
     * @param filter
     * @param like
     * @param sort
     * @param pageNo
     * @param pageSize
     * @return
     */
    public Page pageTakeLocations(Map<String, String> filter, Map<String, String> like, Map<String, String> sort, int pageNo, int pageSize);
    
    /**
     * 删除
     * 
     * @param locationId
     */
    public void doDeleteTakeLocation(Long locationId);
}
